package tool;

import static org.junit.Assert.*;

import org.junit.Test;

public class PasswordEncryptorTest {

	@Test
	public void test() {
		PasswordEncryptor pe=new PasswordEncryptor();
		String str="123456";
		String encryptedStr=pe.encrypt(str);
		assertEquals(encryptedStr.length(), 128);
		assertEquals(encryptedStr,"BA3253876AED6BC22D4A6FF53D8406C6AD864195ED144AB5C87621B6C233B548BAEAE6956DF346EC8C17F5EA10F35EE3CBC514797ED7DDD3145464E2A0BAB413");
		System.out.println(pe.encrypt("test"));
	}

}
